package com.xy.designPatterns.observer;

public class OrderStatus {


    private Integer code;

    public OrderStatus(Integer code) {
        this.code = code;
    }

    // 支付成功
    public static final OrderStatus PAID = new OrderStatus(1);

    // 发货
    public static final OrderStatus SHIPPED = new OrderStatus(2);

}
